import { OnDestroy ,Directive, ElementRef, Input, Renderer } from '@angular/core';


@Directive({
     selector: '[myFooter]' 
    })
export class MyFooterDirective implements OnDestroy  {
    
    constructor(el: ElementRef, renderer: Renderer) {
        jQuery(el.nativeElement).css("bottom","0px");
        jQuery(el.nativeElement).css("left","0px");
        jQuery(el.nativeElement).css("right","0px");
        jQuery(el.nativeElement).css("display","block");
        jQuery(el.nativeElement).css("position","absolute");
        jQuery(el.nativeElement).css("height","40px");
        jQuery(el.nativeElement).css("text-align","right");
        jQuery(el.nativeElement).addClass("bgtoolbar");
        
    }

    
    ngOnDestroy(){
    } 
}